//
//  ZLWHomeListModel+ZLWHomeListModel_htmlString.m
//  EPA
//
//  Created by lanou3g on 16/4/26.
//  Copyright © 2016年 zlw. All rights reserved.
//

#import "ZLWHomeListModel+ZLWHomeListModel_htmlString.h"
#import <objc/objc-runtime.h>

/**
 * 自定义的 key
 */
static NSString const *key = @"htmlStringKey";
@implementation ZLWHomeListModel (ZLWHomeListModel_htmlString)

- (void)setHtmlString:(NSString *)htmlString
{
    objc_setAssociatedObject(self, (__bridge const void *)(key), htmlString,OBJC_ASSOCIATION_COPY_NONATOMIC);
}

-(NSString *)htmlString
{
    return objc_getAssociatedObject(self, (__bridge const void *)(key));
}

@end
